package com.rxst.msg.dto.save;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 菜单表
 *
 * @author rxst
 * @email rxst@gmail.com
 * @date 2021-08-19 11:47:01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MsgxMenuSaveDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 菜单名称
     */
    @ApiModelProperty(value = "菜单名称", example = "@component:ProFormTextArea@length:64@required:true", notes = "菜单名称")
    private String menuName;
    /**
     * 菜单类型 0 功能模块   1 菜单  2 接口  3 按钮
     */
    @ApiModelProperty(value = "菜单类型 0 功能模块   1 菜单  2 接口  3 按钮  ", example = "@component:ProFormSelect@validate:number@length:1@dict:类型 0 功能模块   1 菜单  2 接口  3 按钮  @required:true", notes = "菜单类型 0 功能模块   1 菜单  2 接口  3 按钮  ")
    private Integer menuType;
    /**
     * 菜单URL
     */
    @ApiModelProperty(value = "菜单URL", notes = "菜单URL")
    private String menuUrl;
    /**
     * 父类id
     */
    @ApiModelProperty(value = "父类id   ", example = "@component:ProFormTextArea@length:64@required:true", notes = "父类id   ")
    private String menuParentId;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", example = "2021-08-19 00:00:00", notes = "创建时间" ,dataType = "String")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", example = "2021-08-19 00:00:00", notes = "修改时间",dataType = "String")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

}
